package my.framework.dubbo.sample;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * SAMPLE-USER-PROVIDER Application
 *
 * @author xuexue
 * @date 2018/11/14 19:27
 */
@Slf4j
@EnableDubbo
@EnableScheduling
@EnableCaching
@SpringBootApplication
@MapperScan(basePackages = "my.framework.dubbo.sample.user.mapper")
public class SampleUserProviderApplication {

    public static void main(String[] args) {
        SpringApplication.run(SampleUserProviderApplication.class, args);
        log.info("sample user provider started!");
    }
}
